home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 5.3 for Indy R4400
/
IRIX 5.3 for Indy R4400 175MHz.img
/
dist
/
eoe2.idb
/
usr
/
share
/
catman
/
u_man
/
cat6
/
interp.z
/
interp
Wrap
Text File
|
1995-02-28
|
2KB
|
67 lines
IIIINNNNTTTTEEEERRRRPPPP((((6666DDDD)))) IIIINNNNTTTTEEEERRRRPPPP((((6666DDDD))))
NNNNAAAAMMMMEEEE
interp - gamma-corrected color ramp generator
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
////uuuussssrrrr////ddddeeeemmmmoooossss////bbbbiiiinnnn////iiiinnnntttteeeerrrrpppp
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_I_n_t_e_r_p makes smooth color ranges. Two color chips and a Gouraud-shaded
polygon showing the shade range between them are displayed. To make a
color range, start windows for _s_h_o_w_m_a_p, _c_e_d_i_t, and _i_n_t_e_r_p. Select the
color at the lower (usually darker) end of the shade range and use _c_e_d_i_t
to set it to the desired value. Select the color at the top of the shade
range and edit it as well.
Now attach to (select) _i_n_t_e_r_p. Point to the lower color (usually on
_s_h_o_w_m_a_p). Press and release the left mouse button. Point to the high
color and repeat. Both the extreme colors of your desired color ramp
should be in the two large color chips in the _i_n_t_e_r_p window. If you
should make an error when selecting the extreme colors for your ramp,
just keep trying to use the left mouse button to pick the colors, until
the two color chips show the proper extreme color indices.
When the extreme color indices are correctly chosen (which is reflected
in the color chips), the other colors of the ramp can be interpolated.
While _i_n_t_e_r_p is still selected for input, press and release the middle
mouse button. This interpolates all the colors between the extreme
colors.
The resultant color array will be gamma-corrected using the floating-
point constant in ~/._g_a_m_m_a. If no such file exists, the gamma constant
is 1.0.
BBBBUUUUGGGGSSSS
This program must have input focus in order to work properly. See the
window manager documentation for a discussion of input focus.
PPPPaaaaggggeeee 1111